package com.taxipark;

import com.taxipark.domain.TaxiDriver;
import com.taxipark.domain.TaxiManager;
import com.taxipark.service.Regestration;
import com.taxipark.service.SimpleRegestration;

public class Main {
	public static void main(String[] args) {
		System.out.println("Ptogram started ...");

		Regestration regestration = new SimpleRegestration();

		/*TaxiManager sasha = new TaxiManager("Sasha", "(093)2023158");

		TaxiDriver sergey = new TaxiDriver("Sergey", "(068)4051957");
		regestration.addDriver(sergey, sasha);

		TaxiDriver roma = new TaxiDriver("Roma", "(111)1111111");
		regestration.addDriver(roma, sasha);
*/
		String drivers = regestration.printAllDrivers();
		System.out.print(drivers);
		/*regestration.removeDriver(roma);
		drivers = regestration.printAllDrivers();
		System.out.print(drivers);
		regestration.removeDriver(sergey);
		drivers = regestration.printAllDrivers();
		System.out.print(drivers);
	*/
	}
}
